import App from './App'

import Vue from 'vue'
import './uni.promisify.adaptor'

import store from './store'
import Cache from './utils/cache'
import util from 'utils/util'
import configs from './config/app.js'
import * as Order from './libs/order';

Vue.config.productionTip = false
App.mpType = 'app'

Vue.prototype.$util = util;
Vue.prototype.$config = configs;
Vue.prototype.$Cache = Cache;
Vue.prototype.$eventHub = new Vue();
Vue.config.productionTip = false
Vue.prototype.$Order = Order;
const app = new Vue({
  ...App,
  store,
  	Cache
})
app.$mount()
